package com.syni.mdd.sjb.common.gateway.auth;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @className UserRestService
 * @description TOO
 * @Author cfx
 * @DATE 2020/4/20 14:17
 * @VERSION 1.0
 **/
@FeignClient(value = "mdd-user",path = "/user")
@RequestMapping("/apiUser")
public interface MddUserService {

    @PostMapping("/checkZuulIntoUser")
    Map<String,Object> checkZuulIntoUser(@RequestParam("token") String token);
}
